package org.rency.ues.dal.dao;

import org.rency.ues.dal.entity.DataHashDO;
import org.springframework.stereotype.Repository;

@Repository("dataHashDao")
public interface DataHashDao {

	public int insert(DataHashDO entity);
	
	public int delete(int id);
	
	public int deleteByTicket(String ticket);
	
	public int deleteByHash(String hash);
	
	public DataHashDO get(int id);
	
	public DataHashDO getByTicket(String ticket);
	
	public DataHashDO getByHash(String hash);
	
}